package bb.lanxing.net;

import java.util.concurrent.TimeUnit;

import bb.lanxing.net.core.ApiClientConfig;

public final class ApiClientConfigs {
    public static final String API_VERSION_1 = "api/v1";
    public static final String API_VERSION_2 = "api/v2";
    public static final String BASE_URL_WWW = "woc.bluebank.com.cn";
    public static final String CHARSET = ";charset=utf-8";
    public static final String DEFAULT_HOST = "woc.bluebank.com.cn";
    public static final String DEFAULT_REGION = "Asia";
    public static final String PROTOCOL = "https://";
    public static final String PROTOCOL_HTTP = "http://";
    public static final String REGION_ASIA = "Asia";
    public static final String REGION_GLOBAL = "Global";
    public static final String SEPARATOR = "/";
    public static final String BASE_URL = "https://woc.bluebank.com.cn/";
    public static final String MEDIA_TYPE_JSON = "application/json;charset=utf-8";
    public static final ApiClientConfig DEFAULT_API_CONFIG =
            new ApiClientConfig.Builder().baseUrl(BASE_URL).connectTimeout(60000, TimeUnit.MILLISECONDS)
                    .readTimeout(60000, TimeUnit.MILLISECONDS).header("content-type", MEDIA_TYPE_JSON)// d.d
                    .debuggable(false).build();
}
